package com.punai.monthanalysis.domain;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.punai.common.utils.Decimal3Serializer;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.punai.common.annotation.Excel;
import com.punai.common.core.domain.BaseEntity;

/**
 * 单位工程人工费总量动态控制对象 pro_ydcbfx_dwgcrgfzldtkzb
 *
 * @author zxw_
 * @date 2023-04-19
 */
public class ProYdcbfxDwgcrgfzldtkzb extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private String id;
    /**
     * 项目ID
     */
    @Excel(name = "项目ID")
    private String proId;

    /**
     * 期次
     */
    @Excel(name = "期次")
    private String qc;

    /**
     * 上级ID
     */
    @Excel(name = "上级ID")
    private String pid;
    /**
     * 序号
     */
    @Excel(name = "序号")
    private String xh;
    /**
     * 分项工程
     */
    @Excel(name = "分项工程")
    private String itemName;
    /**
     * 类别
     */
    @Excel(name = "类别")
    private String category;
    /**
     * 单位
     */
    @Excel(name = "单位")
    private String unit;
    /**
     * 预算总量
     */
    @Excel(name = "预算总量")
    @JsonSerialize(using = Decimal3Serializer.class)
    private BigDecimal ysAllQuantity;
    /**
     * 实际累计量
     */
    @Excel(name = "实际累计量")
    @JsonSerialize(using = Decimal3Serializer.class)
    private BigDecimal sjAllQuantity;
    /**
     * 节超数
     */
    @Excel(name = "节超数")
    @JsonSerialize(using = Decimal3Serializer.class)
    private BigDecimal jcs;
    /**
     * 实际单位含量
     */
    @Excel(name = "实际单位含量")
    @JsonSerialize(using = Decimal3Serializer.class)
    private BigDecimal sjUnitHl;
    /**
     * 备注
     */
    @Excel(name = "备注")
    private String remark;

    public void setId(String id) {
        this.id = id;
    }

    public String getId() {
        return id;
    }

    public String getQc() {
        return qc;
    }

    public void setQc(String qc) {
        this.qc = qc;
    }

    public void setProId(String proId) {
        this.proId = proId;
    }

    public String getProId() {
        return proId;
    }

    public void setPid(String pid) {
        this.pid = pid;
    }

    public String getPid() {
        return pid;
    }

    public void setXh(String xh) {
        this.xh = xh;
    }

    public String getXh() {
        return xh;
    }

    public void setItemName(String itemName) {
        this.itemName = itemName;
    }

    public String getItemName() {
        return itemName;
    }

    public void setCategory(String category) {
        this.category = category;
    }

    public String getCategory() {
        return category;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public String getUnit() {
        return unit;
    }

    public void setYsAllQuantity(BigDecimal ysAllQuantity) {
        this.ysAllQuantity = ysAllQuantity;
    }

    public BigDecimal getYsAllQuantity() {
        return ysAllQuantity;
    }

    public void setSjAllQuantity(BigDecimal sjAllQuantity) {
        this.sjAllQuantity = sjAllQuantity;
    }

    public BigDecimal getSjAllQuantity() {
        return sjAllQuantity;
    }

    public void setJcs(BigDecimal jcs) {
        this.jcs = jcs;
    }

    public BigDecimal getJcs() {
        return jcs;
    }

    public void setSjUnitHl(BigDecimal sjUnitHl) {
        this.sjUnitHl = sjUnitHl;
    }

    public BigDecimal getSjUnitHl() {
        return sjUnitHl;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getRemark() {
        return remark;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("proId", getProId())
                .append("pid", getPid())
                .append("xh", getXh())
                .append("itemName", getItemName())
                .append("category", getCategory())
                .append("unit", getUnit())
                .append("ysAllQuantity", getYsAllQuantity())
                .append("sjAllQuantity", getSjAllQuantity())
                .append("jcs", getJcs())
                .append("sjUnitHl", getSjUnitHl())
                .append("remark", getRemark())
                .append("createBy", getCreateBy())
                .append("updateBy", getUpdateBy())
                .append("createTime", getCreateTime())
                .append("updateTime", getUpdateTime())
                .toString();
    }
}
